# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=upmpdcli
pkgver=1.4.12
pkgrel=0
pkgdesc="upmpdcli is a UPnP Media Renderer front-end for MPD, the Music Player Daemon"
url="http://www.lesbonscomptes.com/upmpdcli"
arch="all !armhf !armv7"
license="LGPL-2.1-or-later"
options="!check"
makedepends="libupnpp-dev libmpdclient-dev libmicrohttpd-dev jsoncpp-dev"
subpackages="$pkgname-doc"
source="upmpdcli-$pkgver.tar.gz::http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-$pkgver.tar.gz
	https://framagit.org/medoc92/upmpdcli/-/commit/4fd8a07b560dcd4ad5706684d512d33707de3da0.patch
	"

build() {
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="65860d41485c142ab87c72f17c534fd323e9eeb442115e35637439244bb8be33299f62c4eab9f4048ba136fbb16859a8c501af2a43ac45700654f6cd1067ffe9  upmpdcli-1.4.12.tar.gz
345b98f84712128193103c9cc13f0ae06ac4e9191215aa7398c0d14e2c40e53587c29619229619681228cf326e3098ac95410cc7b675229b5afc89fb943d6f66  4fd8a07b560dcd4ad5706684d512d33707de3da0.patch"
